// 转换实体

export const toCompSelectSpecList = (apiResp : any[]) => {
  return !apiResp ? [] : apiResp.map(e => ({
    ...e, key: e.specId
  }))
}